package com.mercury.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ：tx
 * @description：
 * @date ：Created in 2019/1/24 20:25
 * @modified By：
 * @version:
 */
@Controller
@RequestMapping("/mercury")
public class MercuryController {

    @RequestMapping(value = "/home",method = RequestMethod.GET)
    public String homeIndex(){
        return "homeView";
    }

    @RequestMapping(value = "/getUsers",method = RequestMethod.GET)
    public String getUsers(){
        return "listUsers";
    }

}
